package cc.mrbird.febs.activity.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import cc.mrbird.febs.activity.entity.ActivityWhite;
import cc.mrbird.febs.common.entity.QueryRequest;

/**
 * 活动白名单表 Service接口
 *
 * @author Lord
 * @date 2020-06-06 16:24:04
 */
public interface IActivityWhiteService extends IService<ActivityWhite> {

    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param activityWhite activityWhite
     * @return IPage<ActivityWhite>
     */
    IPage<ActivityWhite> findActivityWhites(QueryRequest request, ActivityWhite activityWhite);

    /**
     * 查询（所有）
     *
     * @param activityWhite activityWhite
     * @return List<ActivityWhite>
     */
    List<ActivityWhite> findActivityWhites(ActivityWhite activityWhite);

    /**
     * 新增
     *
     * @param activityWhite activityWhite
     */
    void createActivityWhite(ActivityWhite activityWhite);

    /**
     * 修改
     *
     * @param activityWhite activityWhite
     */
    void updateActivityWhite(ActivityWhite activityWhite);

    /**
     * 删除
     *
     * @param activityWhite activityWhite
     */
    void deleteActivityWhite(ActivityWhite activityWhite);
}
